package com.ls.pattern.structure.flyweight;

public class ConcreteWebSite extends WebSite {
    private String type = "";//网站类型

    public ConcreteWebSite(String type) {
        this.type = type;
    }

    @Override
    public void use(User user) {
        System.out.println("网站的发布形式: " + type+"/"+user.getName());
    }
}
